<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>eCommerce: Dokumentacja klasy ShopDAO.ShipmentDAO</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Wygenerowano przez Doxygen 1.6.1 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Szukaj');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Strona&nbsp;główna</span></a></li>
      <li><a href="namespaces.html"><span>Pakiety</span></a></li>
      <li class="current"><a href="annotated.html"><span>Klasy</span></a></li>
      <li><a href="files.html"><span>Pliki</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Szukaj" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Lista&nbsp;klas</span></a></li>
      <li><a href="hierarchy.html"><span>Hierarchia&nbsp;klas</span></a></li>
      <li><a href="functions.html"><span>Składowe&nbsp;klas</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespace_shop_d_a_o.html">ShopDAO</a>.<a class="el" href="class_shop_d_a_o_1_1_shipment_d_a_o.html">ShipmentDAO</a>
  </div>
</div>
<div class="contents">
<h1>Dokumentacja klasy ShopDAO.ShipmentDAO</h1><!-- doxytag: class="ShopDAO::ShipmentDAO" -->
<p><a href="class_shop_d_a_o_1_1_shipment_d_a_o-members.html">Lista wszystkich składowych.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Metody publiczne</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_shop_d_a_o_1_1_shipment_d_a_o.html#a9f449b2182fa95a883e0e10e2e275fb5">ShipmentDAO</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_shop_d_a_o_1_1_shipment_d_a_o.html#a34146657239bb11c302d11fb781d2ebe">SaveShipmentPossibility</a> (int PaymentID, int ShipmentID)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Zapisuje możliwość przesyłki w bazie Danych (Save shipment option in the database).  <a href="#a34146657239bb11c302d11fb781d2ebe"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_shop_d_a_o_1_1_shipment_d_a_o.html#a92040cb4d536efe074d39b58f6d2db25">DeleteShipmentPossibility</a> (int PaymentID, int ShipmentID)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Usuwa możliwość przesyłki w bazie Danych (Deletes shipment option from the database).  <a href="#a92040cb4d536efe074d39b58f6d2db25"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">List&lt; <a class="el" href="class_shop_model_1_1_shipment_type.html">ShipmentType</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_shop_d_a_o_1_1_shipment_d_a_o.html#a3bb89842b9c465f475e07a654237160e">GetShipmentPossibilities</a> (int PaymentID, bool Active, int?languageID)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Pobiera możliwości wysyłki zapisane w bazie danych (Downloads shipment options saved in the database).  <a href="#a3bb89842b9c465f475e07a654237160e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_shop_d_a_o_1_1_shipment_d_a_o.html#ace14b2fe42c4ab8ec322f71e90052564">SaveShipmentType</a> (int?ShipmentID, string Name, decimal CountryShipmentPrice, decimal EUShipmentPrice, decimal WorldShipmentPrice, int?languageID)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Zapisuje w bazie nową możliwośc wysyłki (Saves new shipment option in the database).  <a href="#ace14b2fe42c4ab8ec322f71e90052564"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_shop_d_a_o_1_1_shipment_d_a_o.html#a0143448eef11c5d196ad03f4c0b8f436">DeleteShipmentType</a> (int ShipmentID)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Usuwa możliwość wysyłki z bazy danych (Deletes shipment option from the database).  <a href="#a0143448eef11c5d196ad03f4c0b8f436"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_shop_model_1_1_shipment_type.html">ShipmentType</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_shop_d_a_o_1_1_shipment_d_a_o.html#a55063155cf45aa586cc67b47377cf36f">GetShipmentType</a> (int ShipmentID, int?languageID)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Pobiera opcję wysyłki po unukalnym id jednaj z opcji wysyłki (Downloads shipment option by unique ID of one of the shipment option).  <a href="#a55063155cf45aa586cc67b47377cf36f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">List&lt; <a class="el" href="class_shop_model_1_1_shipment_type.html">ShipmentType</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_shop_d_a_o_1_1_shipment_d_a_o.html#a403296bf790e9a485679534a9e82eb2f">GetShipmentTypes</a> (int?languageID)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Pobiera wszystkie z opcji wysyłki (Downloads all from shipment option).  <a href="#a403296bf790e9a485679534a9e82eb2f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_shop_d_a_o_1_1_shipment_d_a_o.html#a844614e932611458a55825b0930fcd40">CheckShipmentPossiblities</a> (int paymentID, int shipmentID, int countryID)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sprawdza czy można skorzystać w wybranej opcji wysyłki dla danego kraju (Checks whether it is posiible to use chosen shipment option for every country).  <a href="#a844614e932611458a55825b0930fcd40"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Opis szczegółowy</h2>

<p>Definicja w linii <a class="el" href="_shipment_d_a_o_8cs_source.html#l00010">10</a> pliku <a class="el" href="_shipment_d_a_o_8cs_source.html">ShipmentDAO.cs</a>.</p>
<hr/><h2>Dokumentacja konstruktora i destruktora</h2>
<a class="anchor" id="a9f449b2182fa95a883e0e10e2e275fb5"></a><!-- doxytag: member="ShopDAO::ShipmentDAO::ShipmentDAO" ref="a9f449b2182fa95a883e0e10e2e275fb5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ShopDAO.ShipmentDAO.ShipmentDAO </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definicja w linii <a class="el" href="_shipment_d_a_o_8cs_source.html#l00019">19</a> pliku <a class="el" href="_shipment_d_a_o_8cs_source.html">ShipmentDAO.cs</a>.</p>

</div>
</div>
<hr/><h2>Dokumentacja funkcji składowych</h2>
<a class="anchor" id="a844614e932611458a55825b0930fcd40"></a><!-- doxytag: member="ShopDAO::ShipmentDAO::CheckShipmentPossiblities" ref="a844614e932611458a55825b0930fcd40" args="(int paymentID, int shipmentID, int countryID)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ShopDAO.ShipmentDAO.CheckShipmentPossiblities </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>paymentID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>shipmentID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>countryID</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sprawdza czy można skorzystać w wybranej opcji wysyłki dla danego kraju (Checks whether it is posiible to use chosen shipment option for every country). </p>
<dl><dt><b>Parametry:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>paymentID</em>&nbsp;</td><td>Unikalne id płatności (Unique payment id)</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>shipmentID</em>&nbsp;</td><td>Unikalne id wysyłki (Unique shipmen id)</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>countryID</em>&nbsp;</td><td>Unikalne id kraju (Unique country id)</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Zwraca:</b></dt><dd>Zwraca 'true' jeśli wysyłka jest możliwa (Returns ‘true’ id shipment is possible)</dd></dl>

<p>Definicja w linii <a class="el" href="_shipment_d_a_o_8cs_source.html#l00343">343</a> pliku <a class="el" href="_shipment_d_a_o_8cs_source.html">ShipmentDAO.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a92040cb4d536efe074d39b58f6d2db25"></a><!-- doxytag: member="ShopDAO::ShipmentDAO::DeleteShipmentPossibility" ref="a92040cb4d536efe074d39b58f6d2db25" args="(int PaymentID, int ShipmentID)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ShopDAO.ShipmentDAO.DeleteShipmentPossibility </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>PaymentID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>ShipmentID</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Usuwa możliwość przesyłki w bazie Danych (Deletes shipment option from the database). </p>
<dl><dt><b>Parametry:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>PaymentID</em>&nbsp;</td><td>Id płatności (<a class="el" href="class_payment.html">Payment</a> id)</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>ShipmentID</em>&nbsp;</td><td>Id Wysyłki (<a class="el" href="class_shipment.html">Shipment</a> id)</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Zwraca:</b></dt><dd>Jeśli operacja zakończona powodzeniem zwraca 'True' (Returns ‘true’ is operation succeeded)</dd></dl>

<p>Definicja w linii <a class="el" href="_shipment_d_a_o_8cs_source.html#l00067">67</a> pliku <a class="el" href="_shipment_d_a_o_8cs_source.html">ShipmentDAO.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a0143448eef11c5d196ad03f4c0b8f436"></a><!-- doxytag: member="ShopDAO::ShipmentDAO::DeleteShipmentType" ref="a0143448eef11c5d196ad03f4c0b8f436" args="(int ShipmentID)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ShopDAO.ShipmentDAO.DeleteShipmentType </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>ShipmentID</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Usuwa możliwość wysyłki z bazy danych (Deletes shipment option from the database). </p>
<dl><dt><b>Parametry:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>ShipmentID</em>&nbsp;</td><td>Unikalne id wysyłki (Unique shipment id)</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Zwraca:</b></dt><dd>Jeśli operacja zakończona powodzeniem zwraca 'True' (Returns ‘true’ is operation succeeded)</dd></dl>

<p>Definicja w linii <a class="el" href="_shipment_d_a_o_8cs_source.html#l00219">219</a> pliku <a class="el" href="_shipment_d_a_o_8cs_source.html">ShipmentDAO.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a3bb89842b9c465f475e07a654237160e"></a><!-- doxytag: member="ShopDAO::ShipmentDAO::GetShipmentPossibilities" ref="a3bb89842b9c465f475e07a654237160e" args="(int PaymentID, bool Active, int?languageID)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">List&lt;<a class="el" href="class_shop_model_1_1_shipment_type.html">ShipmentType</a>&gt; ShopDAO.ShipmentDAO.GetShipmentPossibilities </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>PaymentID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>Active</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int?&nbsp;</td>
          <td class="paramname"> <em>languageID</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Pobiera możliwości wysyłki zapisane w bazie danych (Downloads shipment options saved in the database). </p>
<dl><dt><b>Parametry:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>PaymentID</em>&nbsp;</td><td>Id płatności (<a class="el" href="class_payment.html">Payment</a> id)</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>Active</em>&nbsp;</td><td>Czy opcja jest aktywna (Whether the option is active)</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>languageID</em>&nbsp;</td><td>Id języka w jakim wyświetlana jest strona (Language ID in which page is displayed)</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Zwraca:</b></dt><dd>Lista obiektów typu ShipmentType przechowująca dostępne możliwości wysyłki (List of ShipmentType objects storing available shipment options)</dd></dl>

<p>Definicja w linii <a class="el" href="_shipment_d_a_o_8cs_source.html#l00104">104</a> pliku <a class="el" href="_shipment_d_a_o_8cs_source.html">ShipmentDAO.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a55063155cf45aa586cc67b47377cf36f"></a><!-- doxytag: member="ShopDAO::ShipmentDAO::GetShipmentType" ref="a55063155cf45aa586cc67b47377cf36f" args="(int ShipmentID, int?languageID)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_shop_model_1_1_shipment_type.html">ShipmentType</a> ShopDAO.ShipmentDAO.GetShipmentType </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>ShipmentID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int?&nbsp;</td>
          <td class="paramname"> <em>languageID</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Pobiera opcję wysyłki po unukalnym id jednaj z opcji wysyłki (Downloads shipment option by unique ID of one of the shipment option). </p>
<dl><dt><b>Parametry:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>ShipmentID</em>&nbsp;</td><td>Unikalne id wysyłki (Unique shipment id)</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>languageID</em>&nbsp;</td><td>Unikalne id języka w jakim jest wyświetlana strona (Unique language ID in which page is displayed)</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Zwraca:</b></dt><dd>Obiekt typu ShipmentType zawierający informacje wysyłce (ShipmentType object cintaining information about shipment)</dd></dl>

<p>Definicja w linii <a class="el" href="_shipment_d_a_o_8cs_source.html#l00254">254</a> pliku <a class="el" href="_shipment_d_a_o_8cs_source.html">ShipmentDAO.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a403296bf790e9a485679534a9e82eb2f"></a><!-- doxytag: member="ShopDAO::ShipmentDAO::GetShipmentTypes" ref="a403296bf790e9a485679534a9e82eb2f" args="(int?languageID)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">List&lt;<a class="el" href="class_shop_model_1_1_shipment_type.html">ShipmentType</a>&gt; ShopDAO.ShipmentDAO.GetShipmentTypes </td>
          <td>(</td>
          <td class="paramtype">int?&nbsp;</td>
          <td class="paramname"> <em>languageID</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Pobiera wszystkie z opcji wysyłki (Downloads all from shipment option). </p>
<dl><dt><b>Parametry:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>languageID</em>&nbsp;</td><td>Unikalne id języka w jakim jest wyświetlana strona (Unique language ID in which page is displayed)</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Zwraca:</b></dt><dd>Lista opiektów typu ShipmentType, opisijących opcje wysyłki (List of ShipmentTye objects discribing shipment option)</dd></dl>

<p>Definicja w linii <a class="el" href="_shipment_d_a_o_8cs_source.html#l00298">298</a> pliku <a class="el" href="_shipment_d_a_o_8cs_source.html">ShipmentDAO.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a34146657239bb11c302d11fb781d2ebe"></a><!-- doxytag: member="ShopDAO::ShipmentDAO::SaveShipmentPossibility" ref="a34146657239bb11c302d11fb781d2ebe" args="(int PaymentID, int ShipmentID)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ShopDAO.ShipmentDAO.SaveShipmentPossibility </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>PaymentID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>ShipmentID</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Zapisuje możliwość przesyłki w bazie Danych (Save shipment option in the database). </p>
<dl><dt><b>Parametry:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>PaymentID</em>&nbsp;</td><td>Id płatności (<a class="el" href="class_payment.html">Payment</a> id)</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>ShipmentID</em>&nbsp;</td><td>Id Wysyłki (<a class="el" href="class_shipment.html">Shipment</a> id)</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Zwraca:</b></dt><dd>Jeśli operacja zakończona powodzeniem zwraca 'True' (Returns ‘true’ is operation succeeded)</dd></dl>

<p>Definicja w linii <a class="el" href="_shipment_d_a_o_8cs_source.html#l00030">30</a> pliku <a class="el" href="_shipment_d_a_o_8cs_source.html">ShipmentDAO.cs</a>.</p>

</div>
</div>
<a class="anchor" id="ace14b2fe42c4ab8ec322f71e90052564"></a><!-- doxytag: member="ShopDAO::ShipmentDAO::SaveShipmentType" ref="ace14b2fe42c4ab8ec322f71e90052564" args="(int?ShipmentID, string Name, decimal CountryShipmentPrice, decimal EUShipmentPrice, decimal WorldShipmentPrice, int?languageID)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ShopDAO.ShipmentDAO.SaveShipmentType </td>
          <td>(</td>
          <td class="paramtype">int?&nbsp;</td>
          <td class="paramname"> <em>ShipmentID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&nbsp;</td>
          <td class="paramname"> <em>Name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">decimal&nbsp;</td>
          <td class="paramname"> <em>CountryShipmentPrice</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">decimal&nbsp;</td>
          <td class="paramname"> <em>EUShipmentPrice</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">decimal&nbsp;</td>
          <td class="paramname"> <em>WorldShipmentPrice</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int?&nbsp;</td>
          <td class="paramname"> <em>languageID</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Zapisuje w bazie nową możliwośc wysyłki (Saves new shipment option in the database). </p>
<dl><dt><b>Parametry:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>ShipmentID</em>&nbsp;</td><td>Unikalne id wysyłki (Unique shipment id)</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>Name</em>&nbsp;</td><td></td></tr>
    <tr><td valign="top"></td><td valign="top"><em>CountryShipmentPrice</em>&nbsp;</td><td>Cena przesyłki krajowej (Inladn shipment price)</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>EUShipmentPrice</em>&nbsp;</td><td>Cena przesyłki do Unii Europejskiej (EU countries shipment price)</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>WorldShipmentPrice</em>&nbsp;</td><td>Cena przesyłki do krajów z poza EU (<a class="el" href="class_shipment.html">Shipment</a> prcie for countries outside of EU)</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>languageID</em>&nbsp;</td><td>Unikalne id języka w jakim jest wyświetlana strona (Unique language ID in which page is displayed)</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Zwraca:</b></dt><dd>Jeśli operacja zakończona powodzeniem zwraca 'True' (Returns ‘true’ is operation succeeded)</dd></dl>

<p>Definicja w linii <a class="el" href="_shipment_d_a_o_8cs_source.html#l00154">154</a> pliku <a class="el" href="_shipment_d_a_o_8cs_source.html">ShipmentDAO.cs</a>.</p>

</div>
</div>
<hr/>Dokumentacja dla tej klasy została wygenerowana z pliku:<ul>
<li>D:/CentrumXP/e-Commerce/eCommerceDev/SklepDAO/<a class="el" href="_shipment_d_a_o_8cs_source.html">ShipmentDAO.cs</a></li>
</ul>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Klasy</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Przestrzenie nazw</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Pliki</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Funkcje</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Zmienne</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Wyliczenia</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Właściwości</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Zdarzenia</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr size="1"/><address style="text-align: right;"><small>Wygenerowano Mon Nov 9 06:08:22 2009 dla eCommerce programem&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>
